import request from '@/utils/request'


export const setmeal=()=>
  request({
    url:"/lm/setmeal",
    method:"get"
  })


  export const updsetmealstatus=(id,status)=>
  request({
    url:"/lm/"+id+"/"+status,
    method:"put",
  })

  export const addsetmeal=(setmeal)=>
    request({
      url:'/lm/addsetmeal',
      method:'post',
      data:setmeal
    })

    export const updsetmeal=(setmeal)=>
    request({
      url:'/lm/updsetmeal',
      method:'post',
      data:setmeal
    })

    export const checkitemBysetmealId=(setmealid)=>
    request({
      url:'/lm/checkitemBysetmealId/'+setmealid,
      method:'post'
    })

    export const selectBysetmealId=(setmealId)=>
    request({
      url:'/lm/selectBysetmealId/'+setmealId,
      method:'post'
    })
